package com.amigo.online.provider.manager.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.amigo.online.common.base.service.BaseService;
import com.amigo.online.provider.manager.mapper.GroupMapper;
import com.amigo.online.provider.manager.model.entity.Group;
import com.amigo.online.provider.manager.service.GroupService;
import com.amigo.online.provider.manager.util.TimestampUtil;

@Service
public class GroupServiceImpl extends BaseService<Group> implements GroupService {
    @Resource
    GroupMapper groupMapper;

    @Override
    public List<Group> findGroupList(Group group) {
        TimestampUtil.setQueryTime(group);
        return groupMapper.findGroupList(group);
    }

}
